package com.aizhixin.lab.docs.repository;

import com.aizhixin.lab.docs.entity.DocMenu;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DocMenuRepository extends JpaRepository<DocMenu, String> {
    List<DocMenu> findByTypeAndParentIdIsNullOrderByOrderNo(Integer type);
}
